//
//  ImageUtils.h
//  iOS
//
//  Created by mokai on 14/11/19.
//  Copyright (c) 2014年 mokai. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ImageUtils : NSObject
+(UIImage *)imageWithUIView:(UIView *)view;
+ (UIImage*) imageWithColor: (UIColor*) color;
+(UIImage*)createImageWithColor:(UIColor*)color rect:(CGRect)frame;
+ (UIColor*) colorWithImage: (UIImage*) image;

/**
 *  修改图片颜色
 *
 */
+ (UIImage *) imageWithTintColor:(UIImage*)srcImg Color:(UIColor *)tintColor;

/**
 *  图片缩放
 */
+ (UIImage *)scaledImage:(UIImage *)image size:(CGSize)toSize;
@end
